Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-794 | GEN001200 M6 | SV-37987r1_rule | ECLP-1 | Medium |
Description |
---|
Restricting permissions will protect system command files from unauthorized modification. System command files include files present in directories used by the operating system for storing default system executables and files present in directories included in the system's default executable search paths. |
STIG | Date |
---|---|
MAC OSX 10.6 Workstation Security Technical Implementation Guide | 2012-01-30 |
Check Text ( C-37572r1_chk ) |
---|
Open a terminal session and enter the following command to verify command file permissions. find /bin /sbin /usr/bin /usr/sbin -type f -perm +022 -exec stat -f %Lp:%N {} \; This will return the octal permissions and name of all group or world-writable files. If any file listed is world or group-writable (either or both of the two lowest order digits contain a "2", "3", "6", or "7"), this is a finding. |
Fix Text (F-32815r1_fix) |
---|
Open a terminal session and enter the following command to change the mode for system command files to 0755 or less permissive. chmod 755 |